#ifndef JLOGINDIALOG_H
#define JLOGINDIALOG_H

#include "app_guis.h"


class JLoginDialog:public JLoginDialogUI
{
public:
    JLoginDialog(wxWindow* parent);
    virtual ~JLoginDialog();
    virtual void OnClose( wxCloseEvent& event ) ;
    virtual void OnInitDialog( wxInitDialogEvent& event ) ;
    virtual void OnTextChangedLoginID( wxCommandEvent& event );
    virtual void OnButtonClickExit( wxCommandEvent& event ) ;
    virtual void OnButtonClickLogin( wxCommandEvent& event ) ;
    virtual void OnChoiceXL( wxCommandEvent& event ) ;
    virtual void OnKillFocusLoginID( wxFocusEvent& event );
    virtual void OnSetFocusKS( wxFocusEvent& event ) ;
    virtual void OnTextChangePassWD( wxCommandEvent& event );
public:
    void update_ks(const wxString & rybh);
    bool checkLogin();

};

#endif // JLOGINDIALOG_H
